package com.xjy.system.domain;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Id;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 支付账户信息对象 sys_payaccount
 *
 * @author zc
 * @date 2022-02-09
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_payaccount")
@Entity
public class SysPayaccount implements Serializable {

	private static final long serialVersionUID = 1L;


	/**
	 * $column.columnComment
	 */
	@TableId(value = "id")
	@Id
	private Long id;

	/**
	 * 项目id
	 */
	private Long projId;

	/**
	 * 账户ID
	 */
	private Long accountId;

	/**
	 * 账户类型:0：现金，1：银行（默认：银行）
	 */
	private String accountType;

	/**
	 * 账户名称
	 */
	private String accountName;

	/**
	 * 开户行
	 */
	private String accountBank;

	/**
	 * 账户号码
	 */
	private String accountPhone;

	/**
	 * 账户余额
	 */
	private BigDecimal accountBalance;

	/**
	 * 修改时间
	 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updateTime;

	/**
	 * 账户余额
	 */
	private Boolean auditStatus;

}
